package com.twohand.admin.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twohand.admin.Entity.Order;
import com.twohand.admin.Entity.Qrcode;
import com.twohand.admin.Vo.Order.OrderStatisVo;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OrderMapper extends BaseMapper<Order> {
    int batchInsert(List<Order> orderList);
    @Select("select * from `order` where order_no=#{orderNo}")
    List<Order> checkOrder(String orderNo);


    Integer batchChangeMoney(List<String> ids, Integer money);

    Integer batchChangeBid(List<String> ids, String bid);


}
